package com.itfreer.gis.map.resource.entity;

import com.itfreer.form.api.entity.EntityBase;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 定义自研服务切片方案
 */
@Entity(name = "gis_service_scheme")
@Table(indexes = {@Index(name = "gis_scheme_pid", columnList = "s_pid")})
public class ServiceSchemeEntity extends EntityBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id", length = 50, nullable = false)
    private String id;

    @Column(name = "i_level", length = 50, nullable = true)
    private Integer level;

    @Column(name = "s_source", length = 50, nullable = true)
    private String source;

    @Column(name = "i_simple_rank", length = 50, nullable = true)
    private Integer simpleRank;

    @Column(name = "s_extent", length = 50, nullable = true)
    private String extent;

    @Column(name = "s_pid", length = 50, nullable = true)
    private String pid;

    @Column(name = "i_order", length = 50, nullable = true)
    private Integer order;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getSimpleRank() {
        return simpleRank;
    }

    public void setSimpleRank(Integer simpleRank) {
        this.simpleRank = simpleRank;
    }

    public String getExtent() {
        return extent;
    }

    public void setExtent(String extent) {
        this.extent = extent;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }
}
